<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="../../attr.jsp" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@page import="com.lrkj.back.vo.constant.PathInfo"%>
<c:set var="peizhiguanli" value="<%=PathInfo.peizhiguanli%>" />
<c:set var="menuXy" value="${menuList}[${peizhiguanli}]" />

<!doctype html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="${ctx}/css/sapar.css" />
<link rel="stylesheet" href="${ctx}/css/index_inner.css" />
<title>系统</title>
</head>

<body>
<div id="container">
    <div id="bd">
    	<div class="wrap clearfix">
        	<div class="sidebar">
            	<h2 class="sidebar-header"><p>功能导航</p></h2>
                <ul class="nav">
                	<li class="nav-info current"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/wanglan/wanglanList.do" class="clearfix"><span>网篮管理</span><i class="icon"></i></a></div></li>
                    <li class="nav-info"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/soft/softList.do" class="clearfix"><span>程序管理</span><i class="icon"></i></a></div></li>
                    <li class="nav-info"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/cangku/cktest.do" class="clearfix"><span>仓库管理</span><i class="icon"></i></a></div></li>
                    <li class="nav-info"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/equip/equipList.do" class="clearfix"><span>设备管理</span><i class="icon"></i></a></div></li>
                    <li class="nav-info"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/manufactor/findAllManufactor.do" class="clearfix"><span>厂家管理</span><i class="icon"></i></a></div></li>
                	<li class="nav-info"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/oneOff/yicipinList.do" class="clearfix"><span>一次品入库</span><i class="icon"></i></a></div></li>
                	<li class="nav-info"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/oneOff/yicipinStoreList.do" class="clearfix"><span>一次品档案</span><i class="icon"></i></a></div></li>
                	<li class="nav-info"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/packageing/packageingList.do" class="clearfix"><span>包装信息</span><i class="icon"></i></a></div></li>
                	<li class="nav-info"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/shoushumuban/ssmubanList.do" class="clearfix"><span>包信息</span><i class="icon"></i></a></div></li>
                    <li class="nav-info"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/department/departmentList.do" class="clearfix"><span>科室管理</span><i class="icon"></i></a></div></li>
                	<li class="nav-info"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/product/productList.do" class="clearfix"><span>器械信息</span><i class="icon"></i></a></div></li>
<!--                <li class="nav-info"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/protype/proTypeList.do" class="clearfix"><span>产品分类</span><i class="icon"></i></a></div></li>
                	<li class="nav-info"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/equip/equipCategoryList.do" class="clearfix"><span>灭菌方式</span><i class="icon"></i></a></div></li> -->
                	<li class="nav-info"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/dict/dictList.do" class="clearfix"><span>字典管理</span><i class="icon"></i></a></div></li>
                    <li class="nav-info"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/sendIm/page.do" class="clearfix"><span>送包管理</span><i class="icon"></i></a></div></li>
                <%--</ul>--%>
            </div>
            <div class="content" id="cc">
                <%--<iframe v-bind:src=menus[0].moduleUrl id="iframe" width="100%" height="100%" frameborder="0"></iframe>--%>
            	<iframe src="${ctx}/wanglan/wanglanList.do" id="iframe" width="100%" height="100%" frameborder="0"></iframe>
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="${ctx}/js/jquery.js"></script>
<script type="text/javascript" src="${ctx}/js/sapar.js"></script>
<script type="text/javascript" src="/js/vue.min.js"></script>
<script type="text/javascript" src="${ctx}/js/index_inner.js"></script>

<script type="text/javascript" >
    var d = ${menuXy};

    function menuList(){
        for(var i = 0;i<d.length;i++){
            var str = "";
            var ifr = "";
            if(i==0){
                //ifr = "<iframe src='"+d[i].moduleUrl+"' id='iframe' width='100%' height='100%' frameborder='0'></iframe>";
                str +="<li class='gongwen current'><div class='nav-header'><a href='#' data-src='"+d[i].moduleUrl+"' class='clearfix'><span>"+d[i].moduleName+"</span><i class='icon'></i></a></div></li>";
            }else{
                str +="<li class='gongwen'><div class='nav-header'><a href='#' data-src='"+d[i].moduleUrl+"' class='clearfix'><span>"+d[i].moduleName+"</span><i class='icon'></i></a></div></li>";
            }
            $(".nav").append(str);
        }
    }

//    menuList();

    var app = new Vue({
        el: '#cc',
        data: {
            menus :${menuXy},

        },
        methods:{

        },

    });
</script>
</html>